package chuyentrung.racehorses;

import chuyentrung.racehorses.framework.GameObject;

public class Horse extends GameObject {
	public static enum ColorHorse {
		RED, BLUE, GREEN, YELLOW
	}

	public enum State {
		RUNNING, WAITING, FINISHED
	}

	public static final float HORSE_HEIGHT = 0.8f;
	public static final float HORSE_WIDTH = 0.8f;

	public ColorHorse color;
	public Position pos;
	public State state;
	public float stateTime = 0;

	public Horse(float x, float y, ColorHorse color) {
		super(x, y, HORSE_WIDTH, HORSE_HEIGHT);
		this.color = color;
		state = State.WAITING;
		stateTime = 0;
		switch (color) {
		case RED:
		case BLUE:
		case GREEN:
		case YELLOW:
		}
	}

	/*
	 * Dua ngua ra vi tri xuat phat Chuyen ngua sang trang thai RUNNING
	 */
	public void start() {

	}

	/*
	 * Tham so vao la so buoc ngua se di chuyen
	 */
	public void Move(int numStep) {

	}

	/*
	 * Khi ngua da ve den vi tri dich Chuyen ngua sang trang thai FINISHED
	 */
	public void finish() {

	}

	/*
	 * tan cong con ngua khac khi vi tri ma ngua den co mot con ngua cua doi
	 * khac da dung
	 */
	public void attack() {

	}

	/*
	 * khi ngua bi mot con ngua khac tan cong Chuyen ngua ve trang thai WAITED
	 */
	public void die() {

	}
}
